home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / tools / edit / ped / manual.doc < prev   
Encoding:
Text File  |  1989-04-26  |  32.6 KB  |  1,082 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                   PED Version 1.0a
  8.                                  Copyright (c)1989
  9.                                Ross Neilson Wentworth
  10.                                 All Rights Reserved
  11.  
  12.                  Portions Copyright 1987 Borland International
  13.                   Portions Copyright 1988 TurboPower Software
  14.  
  15.           PED was created out of frustration.  I was frustrated because I
  16.           was unable to compile large programs from within the Turbo Pascal
  17.           editor environment.  Attempts at using a couple of shareware
  18.           editor left me unhappy because they didn't support the ability to
  19.           have a macro automatically jump to the line where a compile error
  20.           occurred like in the Turbo Editor.  While many commercial editors
  21.           fully support this capability they were not feasible due to a
  22.           tight budget.
  23.  
  24.           Thus, PED was created.  Starting with FirstEd from the Turbo
  25.           Pascal Editor Toolbox as a foundation, I added the most important
  26.           features I needed to conduct my daily projects.  These features
  27.           are:
  28.  
  29.               o  Shell to the Turbo Pascal command-line compiler.
  30.               o  Jump to lines where errors occurred when compiling.
  31.               o  Display the compiler error message on the status line.
  32.               o  Multiple file editing (PED supports up to five windows).
  33.               o  Use as little memory as possible when shelling.
  34.  
  35.           That last feature was very important to me since it was what
  36.           prompted me to create my own editor.  While PED uses minimal
  37.           memory (around 100k) under normal circumstances, if the computer
  38.           is equipped with LIM 4.0 expanded memory, and at least 350k is
  39.           available, only 10k of conventional memory will be consumed by
  40.           the editor while running the compiler, debugger, or shelling to
  41.           DOS.  In other words, the amount of memory wasted is so trivial
  42.           that it can be ignored.
  43.  
  44.           You will notice that PED lacks keyboard macros.  This was not an
  45.           oversight.  I wrote this program for myself and I hardly ever use
  46.           macros.  If you're looking for an editor with macros I highly
  47.           recommend QEdit.  A fine shareware editor with an abundance of
  48.           features. If QEdit supported some way to automatically jump to
  49.           error lines and took advantage of expanded memory I would be
  50.           using it instead.
  51.  
  52.           I may be reached at the following address:
  53.  
  54.                          Ross Neilson Wentworth
  55.                          1422 Elkgrove Circle, #3
  56.                          Venice, CA  90291
  57.                          (213)399-1244 (voice)
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.           I can be reached electronically at Torrance BBS (1:102/345),
  65.           (213)370-9027.  This is a limited hour board, 6pm-9am weekdays,
  66.           all weekend.  You can send mail to me at 1:102/345.1.
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.                                         - 2 -
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.           PED Quick Reference       Primary           Secondary
  129.           ===================       =============     =============
  130.  
  131.           Character left            LfAr              Ctrl-S
  132.           Character Right           RtAr              Ctrl-D
  133.           Word left                 Ctrl-LfAr         Ctrl-A
  134.           Word right                Ctrl-RtAr         Ctrl-F
  135.           Line up                   UpAr              Ctrl-E
  136.           Line down                 DnAr              Ctrl-X
  137.           Scroll up                 Ctrl-W
  138.           Scroll down               Ctrl-Z
  139.           Page up                   PgUp              Ctrl-R
  140.           Page down                 PgDn              Ctrl-C
  141.           Beginning of file         Ctrl-PgUp         Ctrl-Q R
  142.           End of file               Ctrl-PgDn         Ctrl-Q C
  143.           Beginning of line         Home              Ctrl-Q S
  144.           End of line               End               Ctrl-Q D
  145.           Top of screen             Ctrl-Home         Ctrl-Q E
  146.           Bottom of Screen          Ctrl-End          Ctrl-Q X
  147.           Go to line                Ctrl-J L          Alt-J
  148.           Go to column              Ctrl-J C
  149.           Top of block              Ctrl-Q B
  150.           Bottom of Block           Ctrl-Q K
  151.           Jump to marker 0..9       Ctrl-Q 0 .. Ctrl-Q 9
  152.           Set marker 0..9           Ctrl-K 0 .. Ctrl-K 9
  153.           Previous cursor position  Ctrl-Q P
  154.           New line                  Enter             Ctrl-M
  155.           Insert line               Ctrl-N
  156.           Insert control character  Ctrl-P
  157.           Tab                       Tab               Ctrl-I
  158.           Delete current character  Del               Ctrl-G
  159.           Delete character left     Backspace         Ctrl-H
  160.           Delete word               Ctrl-T
  161.           Delete word left          Ctrl-Backspace
  162.           Delete to end of line     Ctrl-Q Y
  163.           Delete line               Ctrl-Y
  164.           Find pattern              Ctrl-Q F
  165.           Find and replace          Ctrl-Q A
  166.           Find next                 Ctrl-L
  167.           Abandon file              Ctrl-K Q
  168.           Save and continue edit    Ctrl-K S
  169.           Save and exit to DOS      Ctrl-K X          F2
  170.           Save all and exit to DOS  Alt-X
  171.           Save to file              Ctrl-K N
  172.           Add window                Ctrl-O H          Shift-F3
  173.           Next window               Ctrl-O N          F6
  174.           Previous window           Ctrl-O P          Shift-F6
  175.           Resize current window     Ctrl-O S
  176.           Begin block               Ctrl-K B          F7
  177.           End block                 Ctrl-K K          F8
  178.           Copy block                Ctrl-K C
  179.           Move block                Ctrl-K V
  180.           Delete block              Ctrl-K Y
  181.           Hide block                Ctrl-K H
  182.  
  183.  
  184.  
  185.                                         - 3 -
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.           Mark curren word as block Ctrl-K T
  193.           Read block from file      Ctrl-K R
  194.           Write block to file       Ctrl-K W
  195.           Toggle insert mode        Ctrl-V            Ins
  196.           Toggle autoindent mode    Ctrl-Q I
  197.           Toggle marker display     Ctrl-K M
  198.           Change directory          Ctrl-J D
  199.           Show version              Ctrl-J V
  200.           Show available memory     Ctrl-J R
  201.           Set undo limit            Ctrl-J U
  202.           Set default extension     Ctrl-J E
  203.           Abort command             Ctrl-U
  204.           Undo last delete          Ctrl-Q U
  205.           Restore line              Ctrl-Q L
  206.           Compile                   F9
  207.           Set compiler options      Ctrl-J O
  208.           Set primary file          Ctrl-J P
  209.           Debug                     F10
  210.           Set debug options         Ctrl-F10
  211.           Shell                     Ctrl-F9
  212.  
  213.  
  214.           Of special interest to Turbo Pascal programmers are the following
  215.           commands:
  216.  
  217.                Compile
  218.                Set Compiler Optios
  219.                Set Primary File
  220.                Debug
  221.                Set Debug Options
  222.                Shell
  223.  
  224.           See below for descriptions of these commands.
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.                                         - 4 -
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.           Cursor Movement Commands
  257.           =================================================================
  258.  
  259.           Character Left                                     LfAr or Ctrl-S
  260.           Moves the cursor one character to the left.  This command does
  261.           not work across line breaks; when the cursor reaches column 1, it
  262.           stops.
  263.  
  264.           Character Right                                    RtAr or Ctrl-D
  265.           Moves the cursor one character to the right.  This command does
  266.           not work across line breaks; when the cursor reaches the right-
  267.           hand edge of the text window, the text starts scrolling
  268.           horizontally until it reaches the extreme right edge of the line
  269.           (column 999), where it stops.
  270.  
  271.           Word Left                                     Ctrl-LfAr or Ctrl-A
  272.           Moves the cursor to the beginning of the word to the left.  This
  273.           command works across line breaks.
  274.  
  275.           Word Right                                    Ctrl-RtAr or Ctrl-F
  276.           Moves the cursor to the beginning of the word to the right.  This
  277.           command works across line breaks.
  278.  
  279.           Line Up                                            UpAr or Ctrl-E
  280.           Moves the cursor to the line above.  If the cursor is on the top
  281.           line of the window, the window scrolls down one line (if there's
  282.           more text to scroll).
  283.  
  284.           Line Down                                          DnAr or Ctrl-X
  285.           Moves the cursor to the line below.  If the cursor is on the last
  286.           line of the window, the window scrolls up one line (if there's
  287.           more text to scroll).
  288.  
  289.           Scroll Up                                                  Ctrl-W
  290.           Scrolls up toward the beginning of the file, one line at a time.
  291.           The cursor remains on its line until it reaches the bottom of the
  292.           window.
  293.  
  294.           Scroll Down                                                Ctrl-Z
  295.           Scrolls down toward the end of the file.  The cursor remains on
  296.           its line until it reaches the top of the window.
  297.  
  298.           Page Up                                            PgUp or Ctrl-R
  299.           Moves the cursor on page up with an overlap of one line.
  300.  
  301.           Page Down                                          PgDn or Ctrl-C
  302.           Moves the cursor down one page with an overlap of one line.
  303.  
  304.           Beginning of File                           Ctrl-PgUp or Ctrl-Q R
  305.           Moves the cursor to the first character in the file.
  306.  
  307.           End of File                                 Ctrl-PgDn or Ctrl-Q C
  308.           Move the cursor to the last character in the file.
  309.  
  310.  
  311.  
  312.  
  313.                                         - 5 -
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.           Beginning of Line                                Home or Ctrl-Q S
  321.           Moves the cursor to column 1 of the current line.
  322.  
  323.           End of Line                                       End or Ctrl-Q D
  324.           Moves the cursor to the end of the current line (the position
  325.           following the last nonblank character on the line).  Trailing
  326.           blanks are always removed from all lines to preserve space.
  327.  
  328.           Top of Screen                               Ctrl-Home or Ctrl-Q E
  329.           Moves the cursor to the first line displayed in the active
  330.           window.  The cursor remains in the same column.
  331.  
  332.           Bottom of Screen                             Ctrl-End or Ctrl-Q X
  333.           Moves the cursor to the last line displayed in the active window.
  334.           The cursor remains in the same column.
  335.  
  336.           Go to Line                                      Ctrl-J L or Alt-J
  337.           Prompts for a line number and moves the cursor to the specified
  338.           line.  Any positive integer in the range 1 to 32,767 is valid.
  339.           If the value is preceded by a plus (+) or minus (-) sign, the
  340.           target line number will be calculated relative to the current
  341.           line.  Line numbers are counted from the beginning of the file.
  342.  
  343.           Go to Column                                             Ctrl-J C
  344.           Prompts for a column number and moves the cursor to the specified
  345.           column in the current line.  Any positive integer in the range 1
  346.           to 999 is valid.  If the value is preceded by a plus (+) or minus
  347.           (-) sign, the target column number will be calculated relative to
  348.           the current column.
  349.  
  350.           Top of Block                                             Ctrl-Q B
  351.           Moves the cursor to the position of the block-begin marker set
  352.           with Ctrl-K B.  The command works even if the block is hidden or
  353.           the block-end marker is not set.
  354.  
  355.           Bottom of Block                                          Ctrl-Q K
  356.           Moves the cursor to the position of the block-end marker set with
  357.           Ctrl-K K.  The command works even if the block is hidden or the
  358.           block-begin marker is not set.
  359.  
  360.           Jump to Marker 0..9                          Ctrl-Q 0 .. Ctrl-Q 9
  361.           Moves the cursor to one of the ten text markers with the Set
  362.           marker command.  Ctrl-Q 0 jumps to marker 0, Ctrl-Q 1 jumps to
  363.           marker 1, and so on.  If the specified marker has not been set,
  364.           the cursor is not moved.
  365.  
  366.           Set  Marker 0..9                             Ctrl-K 0 .. Ctrl-K 9
  367.           Sets one of the ten text markers at the current position of the
  368.           cursor.  Ctrl-K 0 sets marker 0, Ctrl-K 1 sets marker 1, and so
  369.           on.
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.                                         - 6 -
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.           Previous Cursor Position                                 Ctrl-Q P
  385.           Moves to the last cursor position.  This command is particularly
  386.           useful to move back to the previous position after a Find or
  387.           Find-and-Replace operation.
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.                                         - 7 -
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.           Insert and Delete Commands
  449.           =================================================================
  450.  
  451.           New Line                                          Enter or Ctrl-M
  452.           In Insert mode, this command inserts a line break at the cursor's
  453.           position.  If AutoIndent mode is in effect, the cursor moves to
  454.           the next line and to the same column as the first nonblank
  455.           character in the previous line; otherwise, it moves to column 1
  456.           of the new line.
  457.  
  458.           In Overwrite mode, this command moves the cursor to column 1 of
  459.           the next line without inserting a new line, whether Autoindent
  460.           mode is in effect or not.  A new line will be inserted if you're
  461.           in Overwrite mode and the cursor is on the last line of the file.
  462.  
  463.           Insert Line                                                Ctrl-N
  464.           Inserts a line break at the cursor's position.  The cursor does
  465.           not move.
  466.  
  467.           Insert Control Character                                   Ctrl-P
  468.           Allows control characters to be entered into the text.  For
  469.           example, pressing Ctrl-P and then Ctrl-B would insert Ctrl-B into
  470.           the text.  Control characters are always displayed as highlighted
  471.           capital letters.
  472.  
  473.           Delete Current Character                            Del or Ctrl-G
  474.           Deletes the character under the cursor and moves any characters
  475.           to the right of the cursor one position to the left.  This
  476.           command does not work across line breaks.
  477.  
  478.           Delete Character Left                         Backspace or Ctrl-H
  479.           Moves the cursor one character to the left and deletes the
  480.           character positioned there.  Any characters to the right of the
  481.           cursor are moved one position to the left.  If the cursor is at
  482.           column 1 at the time the command is given, the invisible end-of-
  483.           line marker for the previous line is deleted instead and the two
  484.           lines joined.
  485.  
  486.           Delete Word                                                Ctrl-T
  487.           Deletes the word to the right of the cursor.  This command works
  488.           across line breaks and thus may be used to remove line breaks.
  489.  
  490.           Delete Word Left                                   Ctrl-Backspace
  491.           Deletes the word to the left of the cursor.  This command works
  492.           across line breaks and thus may be used to remove line breaks.s
  493.  
  494.           Delete to End of Line                                    Ctrl-Q Y
  495.           Deletes all the text from the position of the cursor to the end
  496.           of the line.
  497.  
  498.           Delete Line                                                Ctrl-Y
  499.           Deletes the line containing the cursor and moves any lines below
  500.           up one line.  The cursor moves to column 1 of the next line.
  501.  
  502.  
  503.  
  504.  
  505.                                         - 8 -
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.           Find-and-Replace Commands
  513.           =================================================================
  514.  
  515.           Find                                                     Ctrl-Q F
  516.           Lets you search for a string of up to 67 characters.  When you
  517.           enter this command, you will be asked for a search string.  The
  518.           last search string entered (if any) will be displayed.  You can
  519.           select it again by pressing Enter, edit it, or enter a new search
  520.           string.  Esc or Ctrl-U will cancel a search command, and Ctrl-P
  521.           can be used to enter control characters.  For example, to find a
  522.           period at the end of a line you would search for ".CTRL-M", where
  523.           CTRL-M was entered by pressing Ctrl-P and Ctrl-M.
  524.  
  525.           After the search string is entered, you must specify your search
  526.           options.  The options you used last are displayed.  You can enter
  527.           new options (canceling the old ones), edit the current options,
  528.           or select them again by pressing Enter.  The following options
  529.           are available:
  530.  
  531.                    B           Searches backwards from the current cursor
  532.                                position toward the beginning of the file.
  533.                    G           Searches globally.  The entire file is
  534.                                scanned for the search string, regardless of
  535.                                the current position of the cursor.  The
  536.                                search starts at the beginning of the file
  537.                                if searching forwards; at the end if
  538.                                searching backwards.
  539.                    L           Limits searches to the currently marked
  540.                                block.
  541.                    U           Ignores case; treats all alphabetic
  542.                                characters as if they were upper-case.
  543.                    W           Searches for whole words only; skips
  544.                                patterns embedded in other words.
  545.  
  546.           If the text contains a target matching the search string, the
  547.           target is highlighted and the cursor is positioned just beyond
  548.           it.
  549.  
  550.           Find-and-Replace                                         Ctrl-Q A
  551.           This operation works the same as the Find command except that you
  552.           can replace the found string with any other string of up to 67
  553.           characters.  After the entering the search string, you are asked
  554.           to enter the replacement string.  The last replacement string
  555.           entered, if any, will be displayed; you may accept it, edit it,
  556.           or enter a new string.
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.                                         - 9 -
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.           Finally, you are prompted for options.  The options you used last
  577.           are displayed first.  You may enter new options (canceling the
  578.           old ones), edit the current options, or select them by pressing
  579.           Enter.  The options available are the same as those for the Find
  580.           command except the exception of the following:
  581.  
  582.                    N           Replaces without asking; does not prompt for
  583.                                confirmation at each occurrence of the
  584.                                search string.
  585.  
  586.           If the text contains a target matching the search string, the
  587.           target is highlighted and the cursor is positioned just beyond
  588.           it.  You are then asked if you wish to replace it.  Press Y to
  589.           replace it, N to ignore it, or A to replace it and all subsequent
  590.           matches without asking.  You can abort the operation by pressing
  591.           Q.  If you select N (no prompt) option, this question will not be
  592.           asked.
  593.  
  594.           Find Next                                                  Ctrl-L
  595.           Repeats the last search operation.  If the last search command
  596.           called for a Find operation, the same search string and options
  597.           will be repeated; for a Find-and-Replace operation, the
  598.           replacement string will be reused as well.
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.                                        - 10 -
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.           File Commands
  641.           =================================================================
  642.  
  643.           Abandon File                                             Ctrl-K Q
  644.           If the file in the active window has not been modified, this
  645.           command closes the window.  Otherwise, you are asked to verify
  646.           that the file would be abandoned before the window is closed.  If
  647.           the active window is the only window open, this command can be
  648.           used to quit the program.
  649.  
  650.           Save and Edit                                            Ctrl-K S
  651.           Simply saves the tile in the active window.
  652.  
  653.           Save and Exit to DOS                               Ctrl-K X or F2
  654.           Saves the file in the active window.  If the active window is the
  655.           only window open, this command will quit the program, otherwise,
  656.           the window is closed and you may continue editing in another
  657.           window.
  658.  
  659.           Save All and Exit to DOS                                    Alt-X
  660.           Saves all files that have been modified and exits to DOS.
  661.  
  662.           Save to File                                             Ctrl-K N
  663.           Prompts you for a file name, the saves the file in the current
  664.           window in the specified file.  This becomes the new name for the
  665.           file in the window (and in any other windows that display the
  666.           file).  This command is particularly useful when editing NONAME
  667.           files.
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.                                        - 11 -
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.           Window Commands
  705.           =================================================================
  706.  
  707.           Add Window                                   Ctrl-O H or Shift-F3
  708.           Opens another window.  You will be prompted for a file to edit;
  709.           if you do not specify one, a NONAME file is created.  You can
  710.           later save it as a named file with the Save-to-File command.
  711.  
  712.           If too many windows are opened (limit of five) or if the active
  713.           window is too small to be divided in half (fewer than seven
  714.           screen lines including the status line), you will get an error
  715.           message.
  716.  
  717.           Next Window                                        Ctrl-O N or F6
  718.           Makes the next window the active window.
  719.  
  720.           Previous Window                              Ctrl-O P or Shift-F6
  721.           Makes the previous window the active window.
  722.  
  723.           Resize Active Window                                     Ctrl-O S
  724.           Changes the size of the active window.  You can adjust the size
  725.           by pressing the UpAr and DnAr keys.  When you are finished,
  726.           pressing Enter or Esc returns you to the editor.
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.                                        - 12 -
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.           Block Commands
  769.           =================================================================
  770.  
  771.           Begin Block                                        F7 or Ctrl-K B
  772.           Marks the beginning of a block.  The marker itself is not visible
  773.           on the screen, and the block becomes invisible only when the
  774.           end-block marker is set.   You can also use the begin-block as an
  775.           extra text marker and jump directly to it with Ctrl-Q B.
  776.  
  777.           End Block                                          F8 or Ctrl-K K
  778.           Marks the end of a block.  Like the begin-block marker, the end-
  779.           block marker is invisible, and the block itself will not be
  780.           displayed unless both markers are set.  You can also use the
  781.           end-block marker as an extra text marker and jump directly to it
  782.           with Ctrl-Q K.
  783.  
  784.           Copy Block                                               Ctrl-K C
  785.           Creates a copy of a marked and displayed block at the current
  786.           cursor position.  The original block is left unchanged, and the
  787.           markers are placed around the new copy of the block.
  788.  
  789.           Move Block                                               Ctrl-K V
  790.           Moves a marked and displayed block from its current position to
  791.           the cursor's position.  The markers remain around the block at
  792.           its new position.
  793.  
  794.           Delete Block                                             Ctrl-K Y
  795.           Deletes a marked and displayed block.  Although the Undo last
  796.           deletion can usually restore portions of an accidentally deleted
  797.           block, there is no command to restore a deleted block in its
  798.           entirety, so use this command with care.
  799.  
  800.           Hide Block                                               Ctrl-K H
  801.           Toggles off and on the visual marking of a block.
  802.  
  803.           Mark Single Word                                         Ctrl-K T
  804.           Marks a single word as a block, combining the functions of the
  805.           begin-block and end-block commands.  If the cursor is positioned
  806.           within a word, that word will be marked.  If it is not within a
  807.           word, then the word to the right of the cursor will be marked,
  808.           and if there is no word to the right of the cursor, then the word
  809.           to the left will be marked.
  810.  
  811.           Read Block from File                                     Ctrl-K R
  812.           Read a file into the text at the cursor's current position
  813.           exactly as if it were copied from another part of the text.  The
  814.           file read in is marked as a block.
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.                                        - 13 -
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.           Write Block to File                                      Ctrl-K W
  833.           Writes the currently marked block to a file.  You are first
  834.           prompted for a file name.  If the file already exists, you are
  835.           asked if you want to overwrite it.  If the file does not exist, a
  836.           new file is created.  The block is left unchanged, and the block
  837.           markers remain in place.  If no block is marked, this command is
  838.           ignored.
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.                                        - 14 -
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.           Miscellaneous Commands
  897.           =================================================================
  898.  
  899.           Abort                                                      Ctrl-U
  900.           Halts an operation in progress.  The keyboard buffer is checked
  901.           regularly to see if the Abort command has been issued; if it has,
  902.           the buffer is emptied and the operation is stopped.
  903.  
  904.           Restore Line                                             Ctrl-Q L
  905.           Will undo any changes made to a line of text as long as you have
  906.           not left the line.  The line is restored to its previous contents
  907.           regardless of the changes made.
  908.  
  909.           Undo Last Deletion                                       Ctrl-Q U
  910.           Restores whole lines deleted with the delete-line command (Ctrl-
  911.           Y) or the delete-block command (Ctrl-K Y).  It does not restore
  912.           single characters or words.  To undo your most recent changes to
  913.           the current line, use the restore-line command (Ctrl-Q L).  The
  914.           size of the "undo buffer" is specified with the set-undo-limit
  915.           command.
  916.  
  917.           Set Undo Limit                                           Ctrl-J U
  918.           Sets the size of the "undo buffer" which stores deleted lines.
  919.           The default value is 20 lines unless you have changed it with the
  920.           installation program.
  921.  
  922.           Toggle Insert Mode                                  Ins or Ctrl-V
  923.           Selects the Insert or Overwrite mode.  In insert mode, text to
  924.           the right of the cursor is moved to the right as new text is
  925.           entered.  In Overwrite mode, any text beneath the cursor is
  926.           overwritten when new text is entered.  Notice that the cursor's
  927.           size is an indication oof the mode you are in:  A thin cursor
  928.           indicates Overwrite, while a slightly fatter cursor indicates
  929.           Insert.
  930.  
  931.           Toggle Autoindent                                        Ctrl-Q I
  932.           When Autoindent mode is in effect, the New line command (Enter or
  933.           Ctrl-M) will move the cursor to the next row and to the same
  934.           column as the first nonblank character on the previous line.
  935.  
  936.           Toggle Marker Display                                    Ctrl-K M
  937.           Hides or makes all text markers visible. Setting a new text
  938.           marker automatically turns on Marker display if it was previously
  939.           turned off.
  940.  
  941.           Change Directory                                         Ctrl-J D
  942.           Changes the active drive and directory.
  943.  
  944.           Set Default Extension                                    Ctrl-J E
  945.           Sets the default extension for file names.  This extension is
  946.           automatically added to file names lacking extensions.  For
  947.           example, if you have set the default extension to .PAS and are
  948.           about to load SAMPLE.PAS, you can simply enter SAMPLE when
  949.           prompted for a file name.
  950.  
  951.  
  952.  
  953.                                        - 15 -
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.           Show Version                                             Ctrl-J V
  961.           Displays the version of PED currently in use.
  962.  
  963.           Show Available Memory                                    Ctrl-J R
  964.           Shows you the amount of random access memory (RAM) available.
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.                                        - 16 -
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.           Programmer Commands
  1025.           =================================================================
  1026.  
  1027.           Compile                                                        F9
  1028.           Executes the Turbo Pascal compiler (TPC.EXE), passing the file
  1029.           name of the active window as the file to compile (unless you have
  1030.           set the Primary file, in which case that file is compiled).
  1031.           TPC.EXE must be somewhere on the PATH.  Upon returning from the
  1032.           compiler, if a compile error occurred the cursor will be
  1033.           positioned on the offending line and the compiler error message
  1034.           will be displayed.
  1035.  
  1036.           Set Compiler Options                                     Ctrl-J O
  1037.           Sets the compiler options used when running the compiler (F9).
  1038.           The changes remain in effect until you quit the editor.  If you
  1039.           wish to make permanent changes to the compiler options you may do
  1040.           so with EDINST.
  1041.  
  1042.           Set Primary File                                         Ctrl-J P
  1043.           Sets the name of the primary file to use when compiling.  If a
  1044.           primary file name is specified it will be compiled instead of the
  1045.           active window's file when the compiler is invoked.  The named
  1046.           file must exist, if it does not an error message will be
  1047.           displayed.
  1048.  
  1049.           Debug                                                         F10
  1050.           Runs Turbo Debugger.  If a "primary" file is defined it will run
  1051.           the debugger using it with the extension "EXE", otherwise it will
  1052.           use the file name in the current window with the extension "EXE".
  1053.           If the file has been modified since the last save or compile it
  1054.           will be recompiled before running the debugger.
  1055.  
  1056.           Set Debug Options                                        Ctrl-F10
  1057.           This string is passed to along with the program name to debug as
  1058.           command line options.  For example, if your program expects a
  1059.           file name on the command line you should use this command.  This
  1060.           command is equivelent to the "Options, Parameters" command in the
  1061.           Turbo Pascal Integrated Environment.
  1062.  
  1063.           Shell                                                     Ctrl-F9
  1064.           Shells to DOS.  You may return to the editor by entering "EXIT".
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.                                        - 17 -
  1082.